package com.spddr.pmos.pojo;

import com.spddr.pmos.jpa.OrgType;
import com.spddr.pmos.jpa.TradeResult;

public class TradeResultPivot {
	private OrgType orgType;
	private TradeResult tradeResult;

	public Integer getOrgTypeId() {
		return orgType.getId();
	}

	public String getOrgTypeName() {
		return orgType.getName();
	}

	public Long getBuyerId() {
		return tradeResult.getBuyer()
				.getId();
	}

	public String getBuyerName() {
		return tradeResult.getBuyer()
				.getName();
	}

	public Double getEnergy() {
		return tradeResult.getEnergy();
	}

	public Double getPrice() {
		return tradeResult.getPrice();
	}

	public Double getFee() {
		return tradeResult.getFee();
	}
}
